/**
 * 
 */
package org.t2.game.server.module.recharge.event;

import org.t2.game.server.module.player.model.Player;

/**
 * @author YY
 *
 */
public class RechargeEvent {
	private Player player;
	private long payMoney;
	private boolean createPay;
	private boolean firstPay;
	
	public static RechargeEvent of(Player player, long payMoney, boolean createPay, boolean firstPay) {
		RechargeEvent event = new RechargeEvent();
		event.player = player;
		event.payMoney = payMoney;
		event.createPay = createPay;
		event.firstPay = firstPay;
		return event;
	}

	public Player getPlayer() {
		return player;
	}

	public long getPayMoney() {
		return payMoney;
	}

	public boolean isCreatePay() {
		return createPay;
	}

	public boolean isFirstPay() {
		return firstPay;
	}
}
